#include <bits/stdc++.h>

using namespace std;

const int N = 1e5 + 10;
int f[N];

int main()
{
    int n;
    cin >> n;
    for (int i = 0; i < n; ++i)
    {
        cin >> f[i];
    }

    return 0;
}